package com.example.provider.qiniuyun;

import org.omg.PortableInterceptor.SYSTEM_EXCEPTION;

public enum ErrorCodeEnum {
    SUCCESS("1001", "成功"),
    NOT_NULL("1002","参数不能为空"),
    SYSTEM_EXCEPTION("2001","系统异常"),;


    private String errMsg;
    private String errCode;

    private ErrorCodeEnum(String errCode, String errMsg) {
        this.errMsg = errMsg;
        this.errCode = errCode;
    }

    public String getErrMsg() {
        return this.errMsg;
    }

    public String getErrCode() {
        return this.errCode;
    }
}
